package com.dinim.graphics;

import java.awt.Color;

import com.dinim.matrix.twodimensional.IPoint2D;

public interface IGraphicsContext {

	public void drawLine(int x1, int y1, int x2, int y2);
    
    public void drawLine(double x1, double y1, double x2, double y2);
    
    public void drawLine(IPoint2D p1, IPoint2D p2);
	
	public void drawOval(int x1, int y1, int x2, int y2);
	
    public void drawRectangle(int x1, int y1, int x2, int y2);
    
    public void drawRectangle(double x1, double y1, double x2, double y2);
    
    public void drawFilledRectangle(double x1, double y1, double x2, double y2);
    
	public void setAntialiasing(boolean antialiasing);
	
	public void setColor(Color color);
	
    public void drawText(String text, int x, int y);
    
}
